home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / assembly / snma-2.lha / SNMA / examples / readme < prev    next >
Text File  |  1995-10-08  |  1KB  |  44 lines

  1.  
  2.     This directory has the simple example how to use snma with arexx and
  3.     global symbol table.
  4.  
  5.     This example uses the following files from the snma/examples directory:
  6.  
  7.       test.asm
  8.       test.glb
  9.       test.i
  10.  
  11.     ShellAsm.rexx, seegb.rexx and addgb.rexx which are in snma/rexx
  12.     directory of snma.lha package must be copied in REXX: directory.
  13.  
  14.         1) start snma if not already running ("->run snma arexx") in
  15.            arexx mode (RexxMaster must also be running).
  16.  
  17.         2) first try to assemble without ADDGB. You will get two
  18.            errors.
  19.            ->rx ShellAsm test.asm
  20.  
  21.         3) Add test.i to the global table.
  22.            ->rx addgb test.glb
  23.  
  24.         4) repeat step 2. If step 3 succeed, test.asm should assemble just
  25.            fine and you have created test.o object module.
  26.  
  27.         5) type: ->rx "seegb"
  28.            You will now see that test.i is in global table.
  29.  
  30.         Read the "alias.txt". If you have defined the aliases it makes
  31.         the commands in the above steps a little shorter.
  32.  
  33.         1) same
  34.         2) ->asm a
  35.         3) ->addgb test
  36.         4) same
  37.         5) ->seegb
  38.  
  39.         When normally working with some project you can create one file
  40.         which has set of neccessary include commands (include files you
  41.         don't modify), for example. You have to call only once "addgb"
  42.         command to move all symbols and macros from the snma's global
  43.         table.  Enjoy...
  44.